<?
if(!defined('IN_UCHOME')) {
	exit('Access Denied');
}

$mid = empty($_GET['mid'])?0:intval($_GET['mid']);
$op = empty($_GET['op'])?'':$_GET['op'];
$video=array();
if($mid) {
	$query = $_SGLOBAL['db']->query("SELECT * FROM ".tname('video')." WHERE mid='$mid'");
	$video= $_SGLOBAL['db']->fetch_array($query);
	
	$is_collection = $_SGLOBAL['db']->result($_SGLOBAL['db']->query("SELECT COUNT(*) FROM ".tname('video_collection')." mc WHERE mc.uid='{$_SGLOBAL['supe_uid']}' AND mc.mid='$mid'"),0);
}
if(empty($video)) {
	
    //判断是否发布太快
	$waittime = interval_check('post');
	if($waittime > 0) {
		showmessage('operating_too_fast','',1,array($waittime));
	}
}else {
	

}










include_once template("cp_video");
?>